<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>森唛</title>
        {=include file="blocks/meta.html"=}
    </head>

    <body>
        <div class="wrap">
            <div class="container">
                <!--header-->
                {=include file="blocks/header.html"=}
                <!--Bread crumbs-->
                <div class="re_960 crumbs">
                    <i></i>
                    <span>您所在的位置：</span>
                    <a href="/" title="首页">首页 &gt;</a>
                    <strong>服务支持</strong>
                </div>
                <!--main-->
                <div class="re_960">
                    <div class="main cf">
                        <div class="side_box">
                            <div class="title_box">
                                <div class="title">
                                    <span>SERVICE</span>
                                    <strong>服务支持</strong>
                                    <em>SUPPORT</em>
                                </div>
                                <i></i>
                            </div>
                        </div>
                        <div class="main_box">
                            <div class="service">
                                <div class="service_img"><img src="{=$root=}/uploads/{=$data.topimg.0.img=}" alt="{=$data.topimg.0.title=}" /></div>
                                <!--
                                <div class="hd">
                                    <h3>家居保养技巧</h3>
                                </div>
                                -->
                                <div class="bd">
                                    {=foreach from=$data.sv item=item key=key=}
                                    <dl>
                                        <dt>
                                        <span class="c1" onclick="d_tab({=$item.id=})">{=$item.title=}</span>
                                        <i></i>
                                        {=if !$key=}
                                        <strong id="i_{=$item.id=}" class="open" onclick="d_tab({=$item.id=})"></strong>
                                        </dt>
                                        <dd id="c_{=$item.id=}">
                                        {=else=}
                                        <strong id="i_{=$item.id=}" class="close" onclick="d_tab({=$item.id=})"></strong>
                                        </dt>
                                        <dd id="c_{=$item.id=}" style="display: none;">
                                        {=/if=}
                                            {=$item.content=}
                                        </dd>
                                    </dl>
                                    {=/foreach=}
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <!--footer-->
                <div class="re_960 footer">
                {=include file="blocks/footer.html"=}
                </div>
            </div>
        </div>
        <div class="line"></div>
        <script type="text/javascript">
            function $id(id){return document.getElementById(id);}
            function d_tab(id)
            {
                if ($id("i_"+id).className == 'close') {
                    $id("i_"+id).className = 'open';
                    $id("c_"+id).style.display = "block";
                } else {
                    $id("i_"+id).className = 'close';
                    $id("c_"+id).style.display = "none";
                }
            }
        </script>
    </body>
</html>
